
    import request from '@/utils/request'
    // 查询学生管理列表
    export function listStudentApi(query) {
    return request({
        url: '/edutation/student/list',
        method: 'get',
        params: {
            orderByColumn:'studentId',
            isAsc:'descending',
            ...query
        }
    })
    }
    // 查询学生管理详细
    export function getStudentApi(studentId) {
    return request({
        url: '/edutation/student/' + studentId,
        method: 'get'
    })
    }

    // 新增学生管理
    export function addStudentApi(data) {
    return request({
        url: '/edutation/student',
        method: 'post',
        data: data
    })
    }

    // 修改学生管理
    export function updateStudentApi(data) {
    return request({
        url: '/edutation/student',
        method: 'put',
        data: data
    })
    }

    // 删除学生管理
    export function delStudentApi(studentId) {
    return request({
        url: '/edutation/student/' + studentId,
        method: 'delete'
    })
    }

